// 人类
public class Person {
    private String name;
    public Person(String name) {
        this.name = name;
    }

    // 人驾驶交通工具去某个地方
    public void drive(Vehicle vehicle, String destination) {
        System.out.println(name + "准备出发去" + destination);
        vehicle.start();
        System.out.println(name + "驾驶着" + vehicle.getTypeName() + "前往" + destination);
        vehicle.stop();
        System.out.println(name + "到达了" + destination);
    }

    public String getName() {
        return name;
    }
}
